/*
 * PackingSlip.java
 *
 * Created on April 1, 2003, 11:59 AM
 */

package com.scalar.chiptrack.operations.packingslip;

/**
 *
 * @author  KUMAR
 */
public class PackingSlip {
    
    private int customerShippingId = -1;
    private int salesOrderId = -1;
    private String salesOrderNo = null;
    private String customerName = null;
    private String invNo = null;
    private String customerPoNo = null;
    private String status = null;
    private String label = null;
    private String location = null;
    private int isDropShipment = -1;
    private int locationAddressId = -1;
    private String maxScheduleDate = null;
    private int lineItemNo;
    private String partNumber;
    private int qty; //lineitem requested qty
    private int pulledQty;
    private boolean readyForConfirm;
    private String mrktPartNumber;

    /** Creates a new instance of PackingSlip */
    public PackingSlip() {
    }
        
    public int getSalesOrderId()
    {
        return salesOrderId;
    }
    public void setSalesOrderId(int salesOrderId)
    {
        this.salesOrderId = salesOrderId;
    }
        
    public int getCustomerShippingId()
    {
        return customerShippingId;
    }
    public void setCustomerShippingId(int customerShippingId)
    {
        this.customerShippingId = customerShippingId;
    }
        
    public String getSalesOrderNo()
    {
        return salesOrderNo;
    }
    public void setSalesOrderNo(String salesOrderNo)
    {
        this.salesOrderNo = salesOrderNo;
    }
    
    public String getCustomerName()
    {
        return customerName;
    }
    public void setCustomerName(String customerName)
    {
        this.customerName = customerName;
    }
    
    public String getInvNo()
    {
        return invNo;
    }
    public void setInvNo(String invNo)
    {
        this.invNo = invNo;
    }
    
    public String getCustomerPoNo()
    {
        return customerPoNo;
    }
    public void setCustomerPoNo(String customerPoNo)
    {
        this.customerPoNo = customerPoNo;
    }
    
    public String getStatus()
    {
        return status;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }
    
    public String getLabel()
    {
        return label;
    }
    public void setLabel(String label)
    {
        this.label = label;
    }
    /**
     * @return
     */
    public int getIsDropShipment()
    {
        return isDropShipment;
    }

    /**
     * @return
     */
    public String getLocation()
    {
        return location;
    }

    /**
     * @param i
     */
    public void setIsDropShipment(int i)
    {
        isDropShipment = i;
    }

    /**
     * @param string
     */
    public void setLocation(String string)
    {
        location = string;
    }


    public int getLocationAddressId() {
        return locationAddressId;
    }

    public void setLocationAddressId(int locationAddressId) {
        this.locationAddressId = locationAddressId;
    }


    public String getMaxScheduleDate() {
        return maxScheduleDate;
    }

    public void setMaxScheduleDate(String maxScheduleDate) {
        this.maxScheduleDate = maxScheduleDate;
    }

    public int getLineItemNo() {
        return lineItemNo;
    }

    public void setLineItemNo(int lineItemNo) {
        this.lineItemNo = lineItemNo;
    }

    public String getPartNumber() {
        return partNumber;
    }

    public void setPartNumber(String partNumber) {
        this.partNumber = partNumber;
    }

    public int getQty() {
        return qty;
    }

    public void setQty(int qty) {
        this.qty = qty;
    }

    public int getPulledQty() {
        return pulledQty;
    }

    public void setPulledQty(int pulledQty) {
        this.pulledQty = pulledQty;
    }

    public int getRemainingQty()
    {
        return (qty-pulledQty) < 0 ? 0 : (qty-pulledQty);
    }

    public boolean isReadyForConfirm() {
        return readyForConfirm;
    }

    public void setReadyForConfirm(boolean readyForConfirm) {
        this.readyForConfirm = readyForConfirm;
    }

    public String getMrktPartNumber() {
        return mrktPartNumber;
    }

    public void setMrktPartNumber(String mrktPartNumber) {
        this.mrktPartNumber = mrktPartNumber;
    }
}